package com.leo.stockmarket.service;

import com.leo.stockmarket.bean.EmailBean;
import com.leo.stockmarket.dao.EmailDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmailServiceImpl implements EmailService{

    @Autowired
    EmailDao emailDao;

    @Override
    public List<EmailBean> queryEmailList() {
        return emailDao.queryList();
    }
}
